/**
 * 游戏过关界面
 * @author zhouzhanglin
 * @returns {PassView}
 */
PassView = function()
{
	Sprite.call(this);
	
	this.bg = new Bitmap( ResManager.getInstance().getBmdByName("next_level"));
	this.addChild(this.bg);
	this.bg.mouseEnabled = true ;
	this.mouseEnabled = true ;
	
	var _self = this ;
	function clkHandler(e)
	{
		GlobalDispatcher.getInstance().dispatchEvent( new GlobalEvent(GlobalEvent.NEXT_LEVEL)); //抛出下一关事件
		_self.removeEventListener(MouseEvent.CLICK , clkHandler );
	};
	this.addEventListener(MouseEvent.CLICK , clkHandler );
};
FLASH.extend( PassView , Sprite);
//PassView.prototype = new Sprite();
//PassView.prototype.constructor = PassView ;